package ModelLayer;

/**
 * Product.java
 * @author Brian Lassen
 * @version 20. Marts 2012
 */
public class Product
{
    private int id;
    private String name;
    private int purchasePrice;
    private int salesPrice;
    private int rentPrice;
    private String countryOfOrigin;
    private int minStock;
    private int supplyerid;
    private String type;
    private String clothingsize;
    private String color;
    private String eqtype;
    private String description;
    private String fabric;
    private String calibre;
    
    public Product()
    {
        this.id = 0;
        this.name = "";
        this.purchasePrice = 0;
        this.salesPrice = 0;
        this.rentPrice = 0;
        this.countryOfOrigin = "";
        this.minStock = 0;
        this.supplyerid = 0;
        this.type = "";
        this.clothingsize = "";
        this.color = "";
        this.eqtype = "";
        this.description = "";
        this.fabric = "";
        this.calibre = "";
    }
    
    public Product(int id, String name, int purchasePrice,int salesPrice, int rentPrice, String countryOfOrigin, int minStock, int supplyerid,
    		       String type, String clothingsize, String color, String eqtype, String description, String fabric, String calibre)
    {
        this.id = id;
        this.name = name;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
        this.rentPrice = rentPrice;
        this.countryOfOrigin = countryOfOrigin;
        this.minStock = minStock;
        this.supplyerid = supplyerid;
        this.type = type;
        this.clothingsize = clothingsize;
        this.color = color;
        this.eqtype = eqtype;
        this.description = description;
        this.fabric = fabric;
        this.calibre = calibre;
    }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(int purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public int getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(int salesPrice) {
		this.salesPrice = salesPrice;
	}

	public int getRentPrice() {
		return rentPrice;
	}

	public void setRentPrice(int rentPrice) {
		this.rentPrice = rentPrice;
	}

	public String getCountryOfOrigin() {
		return countryOfOrigin;
	}

	public void setCountryOfOrigin(String countryOfOrigin) {
		this.countryOfOrigin = countryOfOrigin;
	}

	public int getMinStock() {
		return minStock;
	}

	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}

	public int getSupplyerid() {
		return supplyerid;
	}

	public void setSupplyerid(int supplyerid) {
		this.supplyerid = supplyerid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getClothingsize() {
		return clothingsize;
	}

	public void setClothingsize(String clothingsize) {
		this.clothingsize = clothingsize;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getEqtype() {
		return eqtype;
	}

	public void setEqtype(String eqtype) {
		this.eqtype = eqtype;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFabric() {
		return fabric;
	}

	public void setFabric(String fabric) {
		this.fabric = fabric;
	}

	public String getCalibre() {
		return calibre;
	}

	public void setCalibre(String calibre) {
		this.calibre = calibre;
	}
    

}